Expectation value and Variance

Defintion of Expectation

Expected Value(E(X)) to denote that this is an average(or mean) for a random variable$$E(X)=x_{i} p_{i}$$
Whera xi is value of outcome i and pi is the probability of outcome i

Calculation rules

Definition of Variance

Like what it called, variance(Var(X)) measures the variability during the process and in probability with formula$$Var(X)=E[(X-\mu)^{2}]= E(X^{2})-\mu^{2}=\sum (x_i)^2p_{i}-\mu^2$$

Calculation rules

We need to assume X and Y are independent of each other